<html>
<head>
<link rel="stylesheet" type="text/css" href="gdl-writer.css">
<script src="text-builder.js"></script>
<script src="function-manager.js"></script>
<script src="gdl.js"></script>
<script src="gdl-d2.js"></script>
</head>
<body>
<div class="left">
	<div>Write JavaScript here:</div>
	<textarea id="js"></textarea>
	<button onclick="document.getElementById('gdl').value = eval((document.getElementById('js').value))">Execute!</button>
	<div>GDL comes here:</div>
	<textarea id="gdl"></textarea>
</div>
<div id="functions" class="right"></div>
<script>
functionManager.buildUI("functions", "js");
</script>
</body>
</html>